<script lang="ts" setup>
import { ref } from "vue";
import Child from "./Child.vue";
defineOptions({
  name: "index",
});
//--================= Data

//--================= Methods

//--================= Other
</script>

<template>
  <div class="main">
    <h3>父组件</h3>

    <Child />
  </div>
</template>

<style scoped>
.main {
  background-color: #eee;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px;
  min-height: 500px;
}
</style>
